curl --request POST \
--url https://api.sequence.app/rpc/Analytics/ComputeByService \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"filter": {
"projectId": 122,
"startDate": "2024-09-30",
"endDate": "2024-10-10",
"dateInterval": "DAY"
}
}'
{
"computeStats": [
{
"value": {
"service1": 100,
"service2": 150
},
"label": "2024-09-30"
}
]
}
Get compute statistics by service
curl --request POST \
--url https://api.sequence.app/rpc/Analytics/ComputeByService \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"filter": {
"projectId": 122,
"startDate": "2024-09-30",
"endDate": "2024-10-10",
"dateInterval": "DAY"
}
}'
{
"computeStats": [
{
"value": {
"service1": 100,
"service2": 150
},
"label": "2024-09-30"
}
]
}
Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly.
OK
The response is of type object
.
¿Esta página le ayudó?